package org.kpli.jak.net;

import java.net.InetAddress;
import java.net.Socket;

public class NetFirst {

	public static void main(String[] argv) throws Exception {
		InetAddress addr = InetAddress.getByName("detik.com");
		int port = 80;

		Socket socket = new Socket(addr, port);
		System.out.println(socket);
	}
}
